package com.growthsee.rider.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.growthsee.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 【请填写功能名称】对象 rider_illegal
 *
 * @author growthsee
 * @date 2021-08-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="RiderIllegal对象", description="")
public class RiderIllegal
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 骑手姓名 */
    @Excel(name = "骑手姓名")
    private String name;

    /** 身份证号码 */
    @Excel(name = "身份证号码")
    private String idcard;

    /** 所属企业 */
    @Excel(name = "所属企业")
    private String companyName;

    /** 企业编码 */
    @Excel(name = "企业编码")
    private String companyCode;

    /** 违法时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "违法时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date illegalTime;

    /** 违法地点 */
    @Excel(name = "违法地点")
    private String illegalPlace;
    /** 违法地点 */
    @Excel(name = "人员分类{1、备案骑手；0、未备案骑手}")
    private String ryfl;

    /** 违法行为 */
    @Excel(name = "违法行为")
    private String illegalOperate;

    /** 处罚类别 */
    @Excel(name = "处罚类别 1-警告处罚 2-罚款处罚")
    private String punishType;

    /** 行政区划 */
    @Excel(name = "行政区划")
    private String areaCode;

    @Excel(name = "创建人")
    private String createBy;
    @Excel(name = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @Excel(name = "更新人")
    private String updateBy;
    @Excel(name = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    @Excel(name = "删除标识")
    private Integer delFlag;

}
